package com.cloudpolice.weixin.service.Impl;

import com.cloudpolice.weixin.dao.WechatLogMapper;
import com.cloudpolice.weixin.model.InPutParam.WechatLogInsertInParam;
import com.cloudpolice.weixin.service.WechatLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：梁昊，后端工程师：flyman5，前端工程师：孙耀
 * @create 2020-02-20 21:58
 * @function
 * @editLog
 */
@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
@Service
public class WechatLogServiceImpl implements WechatLogService {
    @Autowired
    WechatLogMapper wechatLogMapper;

    /**
     * 加入微信小程序登录日志
     *
     * @param wechatLogInsertInParam com.cloudpolice.weixin.model.InPutParam.WechatLogInsertInParam
     * @return 影响条件
     */
    @Override
    public int insertLoginLog (WechatLogInsertInParam wechatLogInsertInParam) {
        return wechatLogMapper.insertLoginLog(wechatLogInsertInParam);
    }
}
